package com.ruoyi.carbon.domain.vo;

import com.ruoyi.carbon.entity.PandianInfo;
import com.ruoyi.carbon.entity.Wuliao;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public class PandianVo {

    private PandianInfo pandianInfo = new PandianInfo();

    private Wuliao wuliao = new Wuliao();

    @NotNull(message = "请填写数据")
    @Valid
    public PandianInfo getPandianInfo() {
        return pandianInfo;
    }


    public void setPandianInfo(PandianInfo pandianInfo) {
        this.pandianInfo = pandianInfo;
    }

    @NotNull(message = "请选择物料")
    public Wuliao getWuliao() {
        return wuliao;
    }

    public void setWuliao(Wuliao wuliao) {
        this.wuliao = wuliao;
    }
}
